<?php
/**
 * Created by Zhy
 * User: Zhy
 * Date: 2024/2/20
 * Time: 17:50
 */

namespace app\api\model;

class ProjectConfig extends Base
{
    /**
     * 获取单条数据
     * @param $where
     * @param $field
     * @return array
     * @throws \think\Exception
     * @throws \think\exception\DbException
     */
    static function findData($where = [], $field = '*'){
        return self::where($where)->field($field)->find()->toArray();
    }
}